﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BlankApp.DataSources
{
    public class Vga
    {
        protected string _shortName;
        protected string _longName;
        protected string _description;

        public Vga(string shortName, string longName, string description)
        {
            this._shortName = shortName;
            this._longName = longName;
            this._description = description;
        }

        public string ShortName
        {
            get
            {
                return this._shortName;
            }
            set
            {
                this._shortName = value;
            }
        }

        public string LongName
        {
            get
            {
                return this._longName;
            }
            set
            {
                this._longName = value;
            }
        }

        public string Description
        {
            get
            {
                return this._description;
            }
            set
            {
                this._description = value;
            }
        }
    }

    public class VgaGroup
    {
        protected string _groupTitle;
        protected ObservableCollection<Vga> _vgaCollection = new ObservableCollection<Vga>();

        public VgaGroup(string groupTitle)
        {
            this._groupTitle = groupTitle;
        }

        public string GroupTitle
        {
            get
            {
                return this._groupTitle;
            }
            set
            {
                this._groupTitle = value;
            }
        }

        public ObservableCollection<Vga> Vgas
        {
            get
            {
                return _vgaCollection;
            }
            set
            {
                this._vgaCollection = value;
            }
        }
    }
}
